package com.bbc.base;

public class BaseQuery {

	private int startRow = -1;
	private int endRow = -1;
	private String orderBy;

	public int getStartRow() {
		return startRow;
	}

	public void setStartRow(int startRow) {
		this.startRow = startRow;
	}

	public int getEndRow() {
		return endRow;
	}

	public void setEndRow(int endRow) {
		this.endRow = endRow;
	}

	public String getOrderBy() {
		if ("".equals(orderBy)) {
			return null;
		}
		return orderBy;
	}

	public void setOrderBy(String orderBy) {
		this.orderBy = orderBy;
	}

}
